// DateNumber.h: interface for the CDateNumber class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_DATENUMBER_H__88FAA222_9A87_4025_99F7_66C00F8E653C__INCLUDED_)
#define AFX_DATENUMBER_H__88FAA222_9A87_4025_99F7_66C00F8E653C__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "Number.h"

class CDateNumber : public CNumber  
{
private:
	CDib m_Dibm ;
	CSize DrawM(CDC* pDC ,int x, int y) ;
public:
	CDateNumber();
	virtual ~CDateNumber();

	BOOL Create(CString file,CString mfile,UINT id,UINT mid);
	void Draw(CDC* pDC , time_t time ,int x , int y ,int type=0); //type=0: datetime ; type=1: date; type=2: time
};

#endif // !defined(AFX_DATENUMBER_H__88FAA222_9A87_4025_99F7_66C00F8E653C__INCLUDED_)
